<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
    <link th:href="@{/erp/assets/css/bootstrap.min.css}" rel="stylesheet" />
    <link th:href="@{/erp/assets/css/bootstrap.min.css}" rel="stylesheet" />
    <link rel="stylesheet" th:href="@{/erp/css/style.css}"/>
    <link th:href="@{/erp/assets/css/codemirror.css}" rel="stylesheet">
    <link rel="stylesheet" th:href="@{/erp/assets/css/ace.min.css}" />
    <link rel="stylesheet" th:href="@{/erp/font/css/font-awesome.min.css}" />
        <!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
    <script th:src="@{/erp/js/jquery-1.9.1.min.js}"></script>
    <script th:src="@{/erp/assets/js/bootstrap.min.js}"> </script>
    <script th:src="@{/erp/assets/js/typeahead-bs2.min.js}"></script>
    <script th:src="@{/erp/assets/js/jquery.dataTables.min.js}"></script>
    <script th:src="@{/erp/assets/js/jquery.dataTables.bootstrap.js}"></script>
    <script th:src="@{/erp/assets/layer/layer.js}" type="text/javascript" ></script>
<title>拜访记录</title>
</head>

<body>
<div class="margin clearfix">
 <div class="" id="Other_Management">
     <div class="detailed_style clearfix">
         <em class=""></em>
         <div class="shop_logo"><img th:src="@{/erp/images/detailnoimg.png}"/></div>
         <ul class="shop_content clearfix" th:each="company:${relations}">
             <li class="shop_name"><label class="label_name">企业名称：</label>
                 <span class="info"  th:text="${company.company.companyName}"></span>
                 <div class="Authenticate"><i class="icon-yxrz"></i><i class="icon-yhk"></i><i class="icon-sjrz"></i><i class="icon-grxx"></i></div>
             </li>

             <li><label class="label_name">企业类型：</label><span class="info" th:text="${company.company.companyType}"></span></li>

             <li><label class="label_name">经营范围：</label><span class="info" th:text="${company.company.businessScope}"></span></li>

             <li><label class="label_name">成立日期：</label><span class="info" th:text="${company.company.creatTime}"></span>
             </li>
             <li><label class="label_name">状&nbsp;&nbsp;&nbsp;&nbsp;态： </label>&nbsp;&nbsp;<span class="label label-success radius" th:text="${company.company.companyStatus}=='on'?'已认证':'待认证'"></span></li>

             <li><label class="label_name">申请人姓名：</label><span class="info" th:text="${company.company.legal}"></span>
             </li>
             <li><label class="label_name">申请时间：</label><span class="info" th:text="${company.company.creatTime}"></span>
             </li>
             <li><label class="label_name">电子邮箱：</label><span class="info" th:text="${company.company.companyEmail}"></span>
             </li>
             <li><label class="label_name">固定电话：</label><span class="info" th:text="${company.company.fixedTel}"></span>
             </li>
         </ul>
 </div><br/><br/>

	 <div class="Store_Introduction" style="height:400px">
    <div class="title_name">以往订单记录</div><br/>
     <div class="list_style">
 <table class="table table-striped table-bordered table-hover" id="sample-table1">
		<thead>
		 <tr>
				<th width="80px">序号</th>
				<th width="120px">订单编号</th>
				<th width="150px">产品名称</th>
				<th width="100px">客户名称</th>
				<th width="100px">交易金额</th>				
                <th width="100px">交易时间</th>				
				<th width="150px">所属分类</th>
                <th width="80px">数量</th>
				<th width="100px">状态</th>
                <th width="100px">说明</th>                
				<th width="150px">操作</th>
			</tr>
		</thead>
	<tbody>
	  <tr th:each="order:${OrderList}" >
     <td th:text="${orderStat.count}"></td>
     <td th:text="${order.get('order_id')}"></td>
     <td th:text="${order.get('p_name')}" class="order_product_name"> </td>
	 <td th:text="${order.get('company_name')}"> 旭派</td>
     <td th:text="${order.get('money')}">456.50</td>
     <td th:text="${order.get('deal_time')}">2016-7-5</td>
     <td th:text="${order.get('p_enterprise')}">48V电池</td>
     <td th:text="${order.get('number')}">2</td>
      <td th:text="${order.get('order_status')}" class="td-status"><span ></span></td>
      <td th:text="${order.get('explains')}">支付成功</td>
    <!--  <td th:text="${order.get('remark')}"></td>-->
     <td><a th:href="@{/order/dealauditing}+'?orderId='+${order.get('order_id')}" title="查看"  class="btn btn-xs btn-info "><i class="fa fa-list"></i></a>
     </td>
     </tr>

    </tbody>
    </table>        
     </div>
     </div>
 </div>
</div> 
 <div class="Button_operation"> 
				<button onclick="history.go(-1)" class="btn btn-default radius" type="button">&nbsp;&nbsp;返回&nbsp;&nbsp;</button>
			</div>
 </div>
</body>
</html>
<script>
function go(){  location.href="my_clientele.html"; }
jQuery(function($) {var oTable1 = $('#sample-table').dataTable( {"aaSorting": [
    [ 0, "asc" ]
    ],//默认第几个排序
		"bStateSave": true,//状态保存
		"aoColumnDefs": [
		  //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
		  {"orderable":false,"aTargets":[1,2,3,4,5,6,7,8]}// 制定列不参与排序
		] } );
				
				
				$('table th input:checkbox').on('click' , function(){var that = this;
					$(this).closest('table').find('tr > td:first-child input:checkbox')
					.each(function(){this.checked = that.checked;$(this).closest('tr').toggleClass('selected');});
				                                    });
			});
		jQuery(function($) {var oTable1 = $('#sample-table1').dataTable( {"aaSorting": [
		    [ 0, "asc" ]
            ],//默认第几个排序
		"bStateSave": true,//状态保存
		"aoColumnDefs": [
		  //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
		  {"orderable":false,"aTargets":[1,2,3,4,5,6,7,8,9,10]}// 制定列不参与排序
		] } );
				
				
				$('table th input:checkbox').on('click' , function(){var that = this;
					$(this).closest('table').find('tr > td:first-child input:checkbox')
					.each(function(){this.checked = that.checked;$(this).closest('tr').toggleClass('selected');});
				                                    });
			});	

function member_del(obj,id){
	layer.confirm('确认忽略，这条信息将不再显示',function(index){
		$(obj).parents("tr").remove();
		layer.msg('已删除!',{icon:1,time:1000});
	});
}

</script>
<script type="text/javascript">

</script>